package com.example.ccj.b.c.ui.install;


import com.example.ccj.b.c.ui.BoMaOnClickListener;

/**
 * 拨码
 */
public class BoMa extends InstallItem{

    public BoMa(String installName,boolean isSelect) {
        this.isSelect = isSelect;
        this.installName = installName;
    }

    public BoMa(String installName, boolean isSelect, BoMaOnClickListener boMaOnClickListener) {
        this.isSelect = isSelect;
        this.installName = installName;
        this.boMaOnClickListener = boMaOnClickListener;
    }

    /**
     * 是否选中
     */
    private boolean isSelect;
    /**
     * 改变状态后的回调
     */
    private BoMaOnClickListener boMaOnClickListener;

    public BoMaOnClickListener getBoMaOnClickListener() {
        return boMaOnClickListener;
    }

    public void setBoMaOnClickListener(BoMaOnClickListener boMaOnClickListener) {
        this.boMaOnClickListener = boMaOnClickListener;
    }

    public boolean isSelect() {
        return isSelect;
    }

    public void setSelect(boolean select) {
        isSelect = select;
    }

    @Override
    public int getType() {
        return TYPE_BOMA;
    }
}
